Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

New Operands

These new operands in QuickTime 4 supply information about the environment that the movie is running in.

Constant descriptions

kOperandSubscribedToChannel
Param1: [CString channelURL] Returns true if the QuickTime Preference file contains a subscription to the channel specified by channelURL ; otherwise returns false .

kOperandUniqueCustomActionHandlerID
Returns an unused custom action handler ID. This value may be used with kActionOpenCustomActionHandler and stored in a sprite track variable.

kOperandCustomActionHandlerIDIsOpen
Param1: [long handlerID] Returns true if a custom action handler with the specified ID is currently open.

kOperandConnectionSpeed
Returns the connection speed setting in a users QuickTime preferences file.

kOperandGMTDay
Returns the day value (1..31) for the current Greenwich Mean time.

kOperandGMTMonth
Returns the month value (1..12) for the current Greenwich Mean Tim time.

kOperandGMTYear
Returns the year value for the current Greenwich Mean time.

kOperandGMTHours
Returns the hours value in 24 hour time (0..23) for the current Greenwich Mean time.

kOperandGMTMinutes
Returns the minutes value (0..59) for the current Greenwich Mean time.

kOperandGMTSeconds
Returns the seconds value (0..59) for the current Greenwich Mean time.

kOperandLocalDay
Returns the day value (1..31) for the current local time.

kOperandLocalMonth
Returns the month value (1..12) for the current local time.

kOperandLocalYear
Returns the year value for the current local time.

kOperandLocalHours
Returns the hours value in 24 hour time (0..23) for the current local time.

kOperandLocalMinutes
Returns the minutes value (0..59) for the current local time.

kOperandLocalSeconds
Returns the seconds value (0..59) for the current local time.

kOperandRegisteredForQuickTimePro
Returns true if the user is registered for the Pro version of QuickTime, otherwise returns false.

kOperandPlatformRunningOn
Returns 1 if the computer platform is Macintosh, 2 if it is Windows.

kOperandQuickTimeVersion
Returns the version of QuickTime that is in use.

kOperandComponentVersion
Param1: [CString type] Param1: [CString subType] Param1: [CString manufacturer] Returns the version of a specific QuickTime component. The component is specified using four character string codes for the type, subType, and manufacturer. If the component is not available, a version number of zero is returned.

kOperandOriginalHandlerRefcon
Returns the refcon of the original event handler. This is useful if you are using multiple sprites that delegate the handling of actions to a common handler using the new actionHandlerID property. The original handler's refcon in this case is the ID of the sprite that was originally clicked on or sent a custom event.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |